package cn.tsmchina.one.pojo;

import java.io.Serializable;
import java.util.List;

public class OrderPojo implements Serializable
{
	private static final long serialVersionUID = -2300410588822957138L;
	
	private  String tel;//联系电话
	
	private  Long userId;//会员ID
	
	private String name;//联系人
	
	private String address;//地址
	
	private int payType;//付款方式
	
	private double totalPrice;//总价
	
	private int people;//订餐人数
	
	private int useCredits;//使用积分
	
	private String arriveTime;//到达时间
	
	private List<ProductPojo> products;
	
	private long customerId;
	
	private String memo;
	
	private String redAddress;//addedbyhy 对应domain.Order中的address

	public String getRedAddress() {
		return redAddress;
	}

	public void setRedAddress(String redAddress) {
		this.redAddress = redAddress;
	}

	public String getTel()
	{
		return tel;
	}

	public void setTel(String tel)
	{
		this.tel = tel;
	}
	
	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public int getPayType()
	{
		return payType;
	}

	public void setPayType(int payType)
	{
		this.payType = payType;
	}

	public List<ProductPojo> getProducts()
	{
		return products;
	}

	public void setProducts(List<ProductPojo> products)
	{
		this.products = products;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getAddress()
	{
		return address;
	}

	public void setAddress(String address)
	{
		this.address = address;
	}

	public double getTotalPrice()
	{
		return totalPrice;
	}

	public void setTotalPrice(double totalPrice)
	{
		this.totalPrice = totalPrice;
	}
	
	public int getPeople() {
		return people;
	}

	public void setPeople(int people) {
		this.people = people;
	}

	public int getUseCredits() {
		return useCredits;
	}

	public void setUseCredits(int useCredits) {
		this.useCredits = useCredits;
	}

	public String getArriveTime() {
		return arriveTime;
	}

	public void setArriveTime(String arriveTime) {
		this.arriveTime = arriveTime;
	}
	
	public long getCustomerId() {
		return customerId;
	}

	public void setCustomerId(long customerId) {
		this.customerId = customerId;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}
}
